<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
#{extends 'main.html' /}
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Review Page</title>
<style type="text/css">
body {
	color: blue;
	background-color: #FFD700
}
</style>
</head>
<body>
	<!-- Mahmoud (call method addReviewToDatabase() from controller when clicked on submit) -->
	<font face="Comic Sans MS"> <br />

		<form action="@{Reviews.addReviewToDatabase(id)}" method="POST">

			<br /> <input type="hidden" name="tutId" value="${id}">

			Please enter your review here:<br>
			<span style="color: #c00" class="error">#{error 'review' /}</span><br>
			<textarea name="review" id="review" rows="10" cols="40"width:100%;></textarea>

			<br /> <input type="submit" value="Send Review" />
		</form>
	</font>
</body>
</html>
